def sum_squares(n):
    return sum([x**2 for x in range(1, n)])

def square_sum(n):
    sum = n * (n + 1) / 2
    return sum * sum

print square_sum(100) - sum_squares(100)